package xyz.haijin.shiro.service;


import xyz.haijin.shiro.entity.User;

import java.util.List;

public interface UserService {
    User getUserByEmail(String email);

    User doLogin(String email, String password);

    List<User> getUserList();

    List<Integer> getUserRoleIds(Integer userId);

    void addUserRole(Integer userId, Integer[] roleIds);
}
